package com.taijihuabao.modules.model.baseclock.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.taijihuabao.common.commonutils.LongToStringSerializer;
import com.taijihuabao.modules.entity.BaseClockEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import java.util.List;

/**
 * @title: BaseTypeVO
 * @Author luoxianan
 * @Date: 2022/1/6 18:38
 * @Version 1.0
 */
@Data
@EqualsAndHashCode(callSuper = false)
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("码表类型实体类")
public class BaseTypeVO {
    @ApiModelProperty(value = "码表类型主键")
    @JsonSerialize(using = LongToStringSerializer.class)
    private Long id;

    @ApiModelProperty(value = "码值类型名称")
    private String  typeName;

    @ApiModelProperty(value = "删除标志")
    private Long deleteMark;

    @ApiModelProperty(value = "码值类型名称")
    private List<BaseClockEntity> baseClockList;
}
